<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var arr = [3, 2, 4, 45, 20, 16, 85];
        var newArr = [];
        for (var i = 0; i < arr.length; i++) {
            if (arr[i] > 10) {
                newArr.push(arr[i]);     //arr[i] >  10的 Push到newArr里
            }
        }
        console.log(newArr);

    </script>
</head>

<body>

</body>

</html>